package org.hong.samples.dao;

import java.util.List;

import org.hong.samples.model.ExamSubject;

public interface UserSubjectDao extends BaseDAO<ExamSubject> {

	public List<ExamSubject> findAllSubject();
	
	public ExamSubject getSubjectById(String id);
	
	public void editUser (ExamSubject user) throws Exception;
	
	public void saveUser (ExamSubject user) throws Exception;
	
	public void deleteUser(String id) throws Exception;

	public List<String> getAllUserBySubject(String subjectId);

	public void insertSubjectUsers(List<String> insertList, String subjectId);

	public void deleteSubjectUsers(List<String> delList, String subjectId);
}
